import http from '@/utils/http'
//首页头部的类型总数
export const getAllTagCountApi = async(parm) => {
  return http.get('/api/dashBoard/getAllTagCount', parm)
}
//热门图书列表
export const getHotBookApi = async(parm) => {
  return http.get('/api/dashBoard/getHotBook', null)
}
//周图书列表
export const getBookByWeekApi = async(parm) => {
  return http.get('/api/dashBoard/getBookByWeek', null)
}
//月图书列表
export const getBookByMonthApi = async(parm) => {
  return http.get('/api/dashBoard/getBookByMonth', null)
}
//图书分类
export const categoryCountApi = async(parm) => {
  return http.get('/api/dashBoard/categoryCount', null)
}
//图书分类
export const getTopListApi = async(parm) => {
  return http.get('/api/dashBoard/getTopList', null)
}
